package cn.pl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication//这是一个配置类等同与configuration  SpringBootApplication声明的是springboot的配置  自己写的建议使用configuration注解
@MapperScan("cn.pl.mapper")
public class BootDemo {
    public static void main(String[] args) {
        SpringApplication.run(BootDemo.class,args);
    }
}
